package com.xian.returndemo;

public class ReturnDemo {
    public static void main(String[] args) {
        //目标：明确return关键字的作用
        chu(10,2);
    }

    public static void chu(int a,int b){
        if(b==0){
            System.out.println("000");
            return;
        }
        int c = a /b;
        System.out.println(c);
    }
}
